{extend name="public/layout" /}
{block name="head"}{/block}
{block name="body"}
<body>
<div class="container-fluid p-t-15">
    <form class="form-horizontal" id="form" data-url="/system/cms.detail/index.html">
        <div class="row">
            <div class="col-sm-8">
                <div class="card">
                    <div class="card-header">
                        <h4>基本信息</h4>
                    </div>
                    <div class="card-body">
                        {volist name="form.1" id="vo"}
                        <div class="form-group">
                            <label class="col-lg-2 control-label">{$vo.label_name}</label>
                            <div class="col-lg-9">
                                {$vo.html|raw}
                                {notempty name="$vo.obj_tips"}
                                <p class="help-block">{$vo.obj_tips}</p>
                                {/notempty}
                            </div>
                        </div>
                        {/volist}
                        <div class="form-group">
                            <div class="col-lg-10 col-lg-offset-2">
                                <div class="pull-left">
                                    <button type="button" class="btn btn-primary btn-sub"><i
                                            class="mdi mdi-content-save"></i> 保存
                                    </button>
                                    <button type="button" class="btn btn-danger" onclick="helper.closeCurrent()"><i
                                            class="mdi mdi-close"></i> 关闭
                                    </button>
                                </div>
                                <div class="pull-left m-l-15">
                                    <p class="error-msg"></p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-sm-4">
                <div class="card">
                    <div class="card-header"><h4>扩展信息</h4></div>
                    <div class="card-body">
                        {volist name="form.2" id="vo"}
                        <div class="form-group">
                            <label class="col-lg-3 control-label">{$vo.label_name}</label>
                            <div class="col-lg-9">
                                {$vo.html|raw}
                                {notempty name="$vo.obj_tips"}
                                <p class="help-block">{$vo.obj_tips}</p>
                                {/notempty}
                            </div>
                        </div>
                        {/volist}
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>
<script>
    formHelper.init();
    formHelper.subForm();
</script>
</body>
{/block}